package com.ujiuye.service;

import com.ujiuye.dao.UserDao;
import com.ujiuye.entity.User;

public class UserService {
    //业务逻辑层
    //调用持久层的数据进行逻辑操作
    UserDao dao = new UserDao();
    public User login(String username, String password) {
        return dao.findUserByusernameandpassword(username,password);
    }
}
